package com.imau.mapper;

import com.imau.bean.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    List<Student> studentList();


    public  Integer selectTotal();


    /**分页查询*/
    public List<Student> selectByPage(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize);


    /**条件查询分页*/
    public List<Student> selectPageByCondition(@Param("currentPage") Integer currentPage,@Param("pageSize") Integer pageSize,@Param("student") Student student);


}
